/**
* gtk_file_chooser_add_filter:
* @chooser: a #GtkFileChooser
- * @filter: a #GtkFileFilter
+ * @filter: (transfer full): a #GtkFileFilter
*
* Adds @filter to the list of filters that the user can select between.
* When a filter is selected, only files that are passed by that
* that the icon is available in a scalable format. The array
* is zero-terminated.
*
- * Returns: (array zero-terminated=1): An newly allocated array
- * describing the sizes at which the icon is available. The array
- * should be freed with g_free() when it is no longer needed.
+ * Returns: (array zero-terminated=1) (transfer full): An newly
+ * allocated array describing the sizes at which the icon is
+ * available. The array should be freed with g_free() when it is no
+ * longer needed.
*
* Since: 2.6
**/
*
* Make a copy of a #GtkIconInfo.
*
- * Returns: the new GtkIconInfo
+ * Returns: (transfer full): the new GtkIconInfo
*
* Since: 2.4
*
* with g_option_context_add_group(), if you are using
* g_option_context_parse() to parse your commandline arguments.
*
- * Returns: a #GOptionGroup for the commandline arguments recognized
- * by GTK+
+ * Returns: (transfer full): a #GOptionGroup for the commandline
+ * arguments recognized by GTK+
*
* Since: 2.6
*/
* text as well, so it is not a reliable indicator that a pixbuf or
* widget is in the buffer.
*
- * Returns: slice of text from the buffer
+ * Returns: (transfer full): slice of text from the buffer
**/
gchar*
gtk_text_iter_get_slice (const GtkTextIter *start,
* byte offsets in the buffer. If you want offsets to correspond, see
* gtk_text_iter_get_slice ().
*
- * Returns: array of characters from the buffer
+ * Returns: (transfer full): array of characters from the buffer
**/
gchar*
gtk_text_iter_get_text (const GtkTextIter *start,
* Invisible text is usually invisible because a #GtkTextTag with the
* “invisible” attribute turned on has been applied to it.
*
- * Returns: slice of text from the buffer
+ * Returns: (transfer full): slice of text from the buffer
**/
gchar*
gtk_text_iter_get_visible_slice (const GtkTextIter *start,
* Invisible text is usually invisible because a #GtkTextTag with the
* “invisible” attribute turned on has been applied to it.
*
- * Returns: string containing visible text in the range
+ * Returns: (transfer full): string containing visible text in the
+ * range
**/
gchar*
gtk_text_iter_get_visible_text (const GtkTextIter *start,
* language apply to @iter, the return value is identical to that of
* gtk_get_default_language ().
*
- * Returns: language in effect at @iter
+ * Returns: (transfer full): language in effect at @iter
**/
PangoLanguage *
gtk_text_iter_get_language (const GtkTextIter *iter)